package es.mychimpanzee.generator.mwe2;

import org.eclipse.emf.mwe.core.WorkflowComponent;
import org.eclipse.emf.mwe.core.WorkflowContext;
import org.eclipse.emf.mwe.core.container.CompositeComponent;
import org.eclipse.emf.mwe.core.issues.Issues;
import org.eclipse.emf.mwe.core.monitor.ProgressMonitor;
import org.eclipse.emf.mwe.internal.core.ast.parser.Location;

public class DebugComponent implements WorkflowComponent{



	public void invoke(WorkflowContext model, ProgressMonitor monitor,
			Issues issues) {
		System.out.println("Slot names:");
		for (String each : model.getSlotNames()){
			System.out.println(each);
		}
		
		
		System.out.println(model.get("model"));
		
		
	}

	public void checkConfiguration(Issues issues) {
		// TODO Auto-generated method stub
		
	}

	public CompositeComponent getContainer() {
		// TODO Auto-generated method stub
		return null;
	}

	public void setContainer(CompositeComponent container) {
		// TODO Auto-generated method stub
		
	}

	public void setLocation(Location location) {
		// TODO Auto-generated method stub
		
	}

	public Location getLocation() {
		// TODO Auto-generated method stub
		return null;
	}

	public String getComponentName() {
		return this.getClass().getName();
	}

}
